package com.sakura.mybatisplus.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Data;

public enum StatusEnums {
    WORK(1, "上班"),
    REST(0, "休息");


    @EnumValue
    private Integer code;
    private String msg;

    StatusEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
